<%-- 
    Document   : inquiry_getbypc
    Created on : Jan 4, 2009, 8:17:05 AM
    Author     : JollkY
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<table>
    <tr>
        <td class="menucon">
            <html:link action="/inquiry_getinquiries.do" title="Go to main.">Inquiries</html:link>
        </td>
    </tr>
</table>
<html:messages id="messages" property="customMessage" message="true">
    <div class="heading4"><bean:write name="messages" filter="false"/></div>
</html:messages>
<html:errors/>
<html:messages id="messages" message="true">
    <ul>
        <li><bean:write name="messages"/></li>
    </ul>
</html:messages>
<html:form method="POST" action="/inquiry_getinquiriesbypc.do">
    <table cellspacing="0">
        <tr>
            <td>Project</td>
            <td>:</td>
            <td>
                <html:select property="project">
                    <c:forEach items="${projects}" var="p">
                        <html:option value="${p.id}">${p.nama}</html:option>
                    </c:forEach>
                </html:select>
            </td>
        </tr>
        <tr>
            <td>Cabang</td>
            <td>:</td>
            <td>
                <html:select property="cabang">
                    <c:forEach items="${cabangs}" var="c">
                        <html:option value="${c.id}">${c.kota}</html:option>
                    </c:forEach>
                </html:select>
            </td>
        </tr>
        <tr>
            <td colspan="3"><html:submit value="Find Now"/></td>
        </tr>
    </table>
</html:form>
